<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: MobDropBag类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_mob_drop_bag-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">MobDropBag类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>怪物掉落物背包  
 <a href="class_mob_drop_bag.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_mob_drop_bag_8h_source.html">MobDropBag.h</a>&gt;</code></p>
<div class="dynheader">
类 MobDropBag 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_mob_drop_bag__inherit__graph.png" border="0" usemap="#a_mob_drop_bag_inherit__map" alt="Inheritance graph"/></div>
<map name="a_mob_drop_bag_inherit__map" id="a_mob_drop_bag_inherit__map">
<area shape="rect" title="怪物掉落物背包" alt="" coords="5,80,103,107"/>
<area shape="rect" href="class_base_bag.html" title="背包基类" alt="" coords="17,5,91,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
MobDropBag 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_mob_drop_bag__coll__graph.png" border="0" usemap="#a_mob_drop_bag_coll__map" alt="Collaboration graph"/></div>
<map name="a_mob_drop_bag_coll__map" id="a_mob_drop_bag_coll__map">
<area shape="rect" title="怪物掉落物背包" alt="" coords="5,80,103,107"/>
<area shape="rect" href="class_base_bag.html" title="背包基类" alt="" coords="17,5,91,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2c1fe43ea7d58dad583576b27df92a6f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_drop_object.html">DropObject</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mob_drop_bag.html#a2c1fe43ea7d58dad583576b27df92a6f">dropItem</a> (const <a class="el" href="class_point.html">Point</a> &amp;drop_pos)</td></tr>
<tr class="memdesc:a2c1fe43ea7d58dad583576b27df92a6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">怪物死亡时掉落物品  <a href="class_mob_drop_bag.html#a2c1fe43ea7d58dad583576b27df92a6f">更多...</a><br /></td></tr>
<tr class="separator:a2c1fe43ea7d58dad583576b27df92a6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae282232f9b69624be08b522dbe15c2f4"><td class="memItemLeft" align="right" valign="top"><a id="ae282232f9b69624be08b522dbe15c2f4" name="ae282232f9b69624be08b522dbe15c2f4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MobDropBag</b> (int bagSize)</td></tr>
<tr class="separator:ae282232f9b69624be08b522dbe15c2f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_base_bag"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_base_bag')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_base_bag.html">BaseBag</a></td></tr>
<tr class="memitem:a277bde808d4e1f921ca8c5cc71255d86 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a277bde808d4e1f921ca8c5cc71255d86">getBagSize</a> () const</td></tr>
<tr class="memdesc:a277bde808d4e1f921ca8c5cc71255d86 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取背包容量，在背包无限容量时可能获取到任意值  <a href="class_base_bag.html#a277bde808d4e1f921ca8c5cc71255d86">更多...</a><br /></td></tr>
<tr class="separator:a277bde808d4e1f921ca8c5cc71255d86 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cbdaa521e82519640cbb62cfeb55786 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a4cbdaa521e82519640cbb62cfeb55786">empty</a> () const</td></tr>
<tr class="memdesc:a4cbdaa521e82519640cbb62cfeb55786 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取背包是否为空  <a href="class_base_bag.html#a4cbdaa521e82519640cbb62cfeb55786">更多...</a><br /></td></tr>
<tr class="separator:a4cbdaa521e82519640cbb62cfeb55786 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f593bd54b79f960ebfc3994e95f957 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ab6f593bd54b79f960ebfc3994e95f957">begin</a> () const</td></tr>
<tr class="memdesc:ab6f593bd54b79f960ebfc3994e95f957 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历背包的迭代器起点  <a href="class_base_bag.html#ab6f593bd54b79f960ebfc3994e95f957">更多...</a><br /></td></tr>
<tr class="separator:ab6f593bd54b79f960ebfc3994e95f957 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4a165434591a83c9c610c79d7bbe6be inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ac4a165434591a83c9c610c79d7bbe6be">end</a> () const</td></tr>
<tr class="memdesc:ac4a165434591a83c9c610c79d7bbe6be inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历背包的迭代器终点  <a href="class_base_bag.html#ac4a165434591a83c9c610c79d7bbe6be">更多...</a><br /></td></tr>
<tr class="separator:ac4a165434591a83c9c610c79d7bbe6be inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5f96f0a0b99c9c8dca416e4d54e5ec0 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ad5f96f0a0b99c9c8dca416e4d54e5ec0">BaseBag</a> (int bagSize, bool <a class="el" href="class_base_bag.html#afaaac1e5e162510ab3d25c9a8c0de3c1">infinite_size</a>=false)</td></tr>
<tr class="memdesc:ad5f96f0a0b99c9c8dca416e4d54e5ec0 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="class_base_bag.html#ad5f96f0a0b99c9c8dca416e4d54e5ec0">更多...</a><br /></td></tr>
<tr class="separator:ad5f96f0a0b99c9c8dca416e4d54e5ec0 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dcd7ede0d822471bccc6550688c0d74 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74">inputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> *item)</td></tr>
<tr class="memdesc:a3dcd7ede0d822471bccc6550688c0d74 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">向背包内放入东西，返回是否放入成功  <a href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74">更多...</a><br /></td></tr>
<tr class="separator:a3dcd7ede0d822471bccc6550688c0d74 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179deee9049854bd7a8e108ca3e2f3dd inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a179deee9049854bd7a8e108ca3e2f3dd">outputItem</a> (const <a class="el" href="class_point.html">Point</a> &amp;drop_pos, <a class="el" href="class_drop_object.html">DropObject</a> **drop_object_star)</td></tr>
<tr class="memdesc:a179deee9049854bd7a8e108ca3e2f3dd inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">从背包丢出东西 返回是否丢弃成功  <a href="class_base_bag.html#a179deee9049854bd7a8e108ca3e2f3dd">更多...</a><br /></td></tr>
<tr class="separator:a179deee9049854bd7a8e108ca3e2f3dd inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15cc761c013e5cc36db4ec45e642f531 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a15cc761c013e5cc36db4ec45e642f531">outputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> **drop_object_star)</td></tr>
<tr class="memdesc:a15cc761c013e5cc36db4ec45e642f531 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">从背包丢出东西，用于在背包之间转移东西  <a href="class_base_bag.html#a15cc761c013e5cc36db4ec45e642f531">更多...</a><br /></td></tr>
<tr class="separator:a15cc761c013e5cc36db4ec45e642f531 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95f67e853a800ffd8afa953c002f909 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ab95f67e853a800ffd8afa953c002f909">draw</a> (float window_width, float window_height) const</td></tr>
<tr class="memdesc:ab95f67e853a800ffd8afa953c002f909 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于前端的绘制函数  <a href="class_base_bag.html#ab95f67e853a800ffd8afa953c002f909">更多...</a><br /></td></tr>
<tr class="separator:ab95f67e853a800ffd8afa953c002f909 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b46cc31fb2c6029a8643dc78126d82 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_base_item.html">BaseItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a63b46cc31fb2c6029a8643dc78126d82">operator[]</a> (int index)</td></tr>
<tr class="memdesc:a63b46cc31fb2c6029a8643dc78126d82 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">取背包内对应下标的物品  <a href="class_base_bag.html#a63b46cc31fb2c6029a8643dc78126d82">更多...</a><br /></td></tr>
<tr class="separator:a63b46cc31fb2c6029a8643dc78126d82 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce0190c906b6d9f59bcd0d3d5d8b5bd inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#adce0190c906b6d9f59bcd0d3d5d8b5bd">getItemIndex</a> () const</td></tr>
<tr class="memdesc:adce0190c906b6d9f59bcd0d3d5d8b5bd inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前物品索引  <a href="class_base_bag.html#adce0190c906b6d9f59bcd0d3d5d8b5bd">更多...</a><br /></td></tr>
<tr class="separator:adce0190c906b6d9f59bcd0d3d5d8b5bd inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2490bc1b4b60b9e1aa997b3d8efaff1d inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a2490bc1b4b60b9e1aa997b3d8efaff1d">setItemIndex</a> (int itemIndex)</td></tr>
<tr class="memdesc:a2490bc1b4b60b9e1aa997b3d8efaff1d inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前物品索引  <a href="class_base_bag.html#a2490bc1b4b60b9e1aa997b3d8efaff1d">更多...</a><br /></td></tr>
<tr class="separator:a2490bc1b4b60b9e1aa997b3d8efaff1d inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a602a4d3f0bd9a9f5e010d4ed13c00afd inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd">canInputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> *baseItem)</td></tr>
<tr class="memdesc:a602a4d3f0bd9a9f5e010d4ed13c00afd inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量  <a href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd">更多...</a><br /></td></tr>
<tr class="separator:a602a4d3f0bd9a9f5e010d4ed13c00afd inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1ab953e57727217c20aa5fb6d851c20 inherit pub_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ad1ab953e57727217c20aa5fb6d851c20">normalRefresh</a> ()</td></tr>
<tr class="memdesc:ad1ab953e57727217c20aa5fb6d851c20 inherit pub_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">每帧刷新是调用，可以在此进行可消耗物品的刷新  <a href="class_base_bag.html#ad1ab953e57727217c20aa5fb6d851c20">更多...</a><br /></td></tr>
<tr class="separator:ad1ab953e57727217c20aa5fb6d851c20 inherit pub_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae44172ff9a44422eac58b5fc2fb2765d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_mob_drop_bag.html">MobDropBag</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mob_drop_bag.html#ae44172ff9a44422eac58b5fc2fb2765d">newNormalBag</a> ()</td></tr>
<tr class="memdesc:ae44172ff9a44422eac58b5fc2fb2765d"><td class="mdescLeft">&#160;</td><td class="mdescRight">产生一个新的可用的掉落物背包，需要自行delete  <a href="class_mob_drop_bag.html#ae44172ff9a44422eac58b5fc2fb2765d">更多...</a><br /></td></tr>
<tr class="separator:ae44172ff9a44422eac58b5fc2fb2765d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_base_bag"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_base_bag')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_base_bag.html">BaseBag</a></td></tr>
<tr class="memitem:a87bb57c8aab2d24dfb07f8c0e225eaea inherit pub_static_methods_class_base_bag"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea">swapItem</a> (<a class="el" href="class_base_bag.html">BaseBag</a> *bag1, <a class="el" href="class_base_bag.html">BaseBag</a> *bag2)</td></tr>
<tr class="memdesc:a87bb57c8aab2d24dfb07f8c0e225eaea inherit pub_static_methods_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">尝试交换两个背包内的物品，可能失败  <a href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea">更多...</a><br /></td></tr>
<tr class="separator:a87bb57c8aab2d24dfb07f8c0e225eaea inherit pub_static_methods_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_base_bag"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_base_bag')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_base_bag.html">BaseBag</a></td></tr>
<tr class="memitem:a27dc71924115f9284cf64cc032c2f93c inherit pro_attribs_class_base_bag"><td class="memItemLeft" align="right" valign="top"><a id="a27dc71924115f9284cf64cc032c2f93c" name="a27dc71924115f9284cf64cc032c2f93c"></a>
std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>items</b></td></tr>
<tr class="memdesc:a27dc71924115f9284cf64cc032c2f93c inherit pro_attribs_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包内的物品 <br /></td></tr>
<tr class="separator:a27dc71924115f9284cf64cc032c2f93c inherit pro_attribs_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3001595075da8c4defb45ab097bc2d inherit pro_attribs_class_base_bag"><td class="memItemLeft" align="right" valign="top"><a id="aea3001595075da8c4defb45ab097bc2d" name="aea3001595075da8c4defb45ab097bc2d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>bag_size</b></td></tr>
<tr class="memdesc:aea3001595075da8c4defb45ab097bc2d inherit pro_attribs_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包大小，仅在背包容量有限时触发 <br /></td></tr>
<tr class="separator:aea3001595075da8c4defb45ab097bc2d inherit pro_attribs_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaaac1e5e162510ab3d25c9a8c0de3c1 inherit pro_attribs_class_base_bag"><td class="memItemLeft" align="right" valign="top"><a id="afaaac1e5e162510ab3d25c9a8c0de3c1" name="afaaac1e5e162510ab3d25c9a8c0de3c1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>infinite_size</b> = false</td></tr>
<tr class="memdesc:afaaac1e5e162510ab3d25c9a8c0de3c1 inherit pro_attribs_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包是否无限，默认否 <br /></td></tr>
<tr class="separator:afaaac1e5e162510ab3d25c9a8c0de3c1 inherit pro_attribs_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a432ec09167d998913960f2ae59c59422 inherit pro_attribs_class_base_bag"><td class="memItemLeft" align="right" valign="top"><a id="a432ec09167d998913960f2ae59c59422" name="a432ec09167d998913960f2ae59c59422"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>item_index</b> = 0</td></tr>
<tr class="memdesc:a432ec09167d998913960f2ae59c59422 inherit pro_attribs_class_base_bag"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前物品的索引值 <br /></td></tr>
<tr class="separator:a432ec09167d998913960f2ae59c59422 inherit pro_attribs_class_base_bag"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >怪物掉落物背包 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a2c1fe43ea7d58dad583576b27df92a6f" name="a2c1fe43ea7d58dad583576b27df92a6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c1fe43ea7d58dad583576b27df92a6f">&#9670;&nbsp;</a></span>dropItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="class_drop_object.html">DropObject</a> * &gt; MobDropBag::dropItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>drop_pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>怪物死亡时掉落物品 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">drop_pos</td><td>掉落位置 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>掉落物品的std::vector </dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_mob_drop_bag_a2c1fe43ea7d58dad583576b27df92a6f_icgraph.png" border="0" usemap="#aclass_mob_drop_bag_a2c1fe43ea7d58dad583576b27df92a6f_icgraph" alt=""/></div>
<map name="aclass_mob_drop_bag_a2c1fe43ea7d58dad583576b27df92a6f_icgraph" id="aclass_mob_drop_bag_a2c1fe43ea7d58dad583576b27df92a6f_icgraph">
<area shape="rect" title="怪物死亡时掉落物品" alt="" coords="201,5,356,32"/>
<area shape="rect" href="class_base_mob.html#ac4b3326a103b23a7807f62818e1337f1" title=" " alt="" coords="5,5,153,32"/>
</map>
</div>

</div>
</div>
<a id="ae44172ff9a44422eac58b5fc2fb2765d" name="ae44172ff9a44422eac58b5fc2fb2765d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae44172ff9a44422eac58b5fc2fb2765d">&#9670;&nbsp;</a></span>newNormalBag()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mob_drop_bag.html">MobDropBag</a> * MobDropBag::newNormalBag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>产生一个新的可用的掉落物背包，需要自行delete </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_mob_drop_bag_ae44172ff9a44422eac58b5fc2fb2765d_icgraph.png" border="0" usemap="#aclass_mob_drop_bag_ae44172ff9a44422eac58b5fc2fb2765d_icgraph" alt=""/></div>
<map name="aclass_mob_drop_bag_ae44172ff9a44422eac58b5fc2fb2765d_icgraph" id="aclass_mob_drop_bag_ae44172ff9a44422eac58b5fc2fb2765d_icgraph">
<area shape="rect" title="产生一个新的可用的掉落物背包，需要自行delete" alt="" coords="244,5,436,32"/>
<area shape="rect" href="class_fire_elemental.html#a840d12cfdf1d100bed803738541c1aef" title=" " alt="" coords="5,5,196,32"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Bag/<a class="el" href="_mob_drop_bag_8h_source.html">MobDropBag.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Bag/MobDropBag.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
